-
Notifications
You must be signed in to change notification settings - Fork 4.2k
refactor: Move upload/delete transcript into video_config service #37657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
refactor: Move upload/delete transcript into video_config service #37657
Conversation
b27c671 to
097c430
Compare
696e7df to
a738d26
Compare
|
Sandbox deployment failed 💥 |
|
Sandbox deployment failed 💥 |
|
Sandbox deployment successful 🚀 |
|
Transcripts are not uploading in the content library
|
| if is_library: | ||
| # Save transcript as static asset in Learning Core if is a library component | ||
| filename = f'transcript-{new_language_code}.srt' | ||
| add_library_block_static_asset_file(video_block.usage_key, f"static/{filename}", content) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d633e66 to
0e56827
Compare
|
Sandbox deployment successful 🚀 |
|
Sandbox deployment successful 🚀 |
0e56827 to
c4561ed
Compare
|
Sandbox deployment successful 🚀 |
This moves edx-platform-specific logic out of the VideoBlock, in preparation for the VideoBlock extraction: openedx#36282
c4561ed to
886a2ed
Compare
|
Sandbox deployment failed 💥 |
d968f53 to
6412637
Compare
|
Sandbox deployment successful 🚀 |
|
Sandbox deployment successful 🚀 |
Low-level apps should not depend on high-level apps
6c93bd4 to
6f7891d
Compare
Issue has been tested and its fixed now. |
|
Following testing is done on the sandbox. |
|
Sandbox deployment successful 🚀 |


Description
This moves edx-platform-specific logic out of the VideoBlock, in preparation for the VideoBlock extraction:
#36282
Testing instructions
Go to studio, and in a course, add a transcript, and delete it.
Do the same in a v2 library.